package DAO;

import model.impl.Station;

/**
 *  StationDAO interface, extend GenericDAO interface using as parameters
 *  entity of Station and Integer class as an ID. It also adds some specific 
 *  to Station entity methods.
 */
public interface StationDAO extends GenericDAO<Station, Integer> {
	
	/**
	 * Looks for station with the instance Station.stationName equals to the
	 * given name parameter.
	 * 
	 * @param name - a String representing the Station.stationName of the required 
	 * 				 station					
	 * @return 	   - Station entity object or null if such object was
	 * 				 not found
	 */
	public Station findStationByName(String name);
}
